/**
 * Author(s): xuming.Wong <xuming.Wong@gmail.com>
 */
#ifndef __WDL_FILE_H__
#define __WDL_FILE_H__

#include "FileBase.h"
#include "WowCommon.h"

namespace PQGame
{
	class WdlFile
	{
	public:
		unsigned int *mini_map;//mini map texture buffer
		~WdlFile(void);
		WdlFile(PQEngine::FileBase *f);

	private:
		void init(PQEngine::FileBase *f);
		void initMiniMap();
	
		PQEngine::FileBase* mpq_file;
		int version;
		int maofbuf[64][64];//
		short* tilebufs[64][64];//17*17 shorts by a slot
		short* tilebufs2[64][64];//16*16 shorts by a slot

	};
}

#endif
